﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterpage-trangcon-2.Master" AutoEventWireup="true"
    CodeBehind="Lien-He.aspx.cs" Inherits="Hyunhdai_Saigon_Project.Lien_He" %>

<%@ Register Src="uc/uc-timkiem.ascx" TagName="uc" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="menutrangcon" runat="server">
    <ul id="topnav">
        <li><a href="Lien-He.aspx">Liên Hệ </a></li>
        <li><a href="Khuyen-Mai.aspx">Khuyến Mãi</a></li>
        <li><a href="Meo-Vat.aspx">Mẹo Vặt</a></li>
        <li><a href="San-Pham.aspx">Hãng Xe </a><span style="z-index: 100">
            <%--<a href="SanPham-Huyndai.aspx">
            Hyunhdai</a> <a href="SanPham-Isuzu.aspx">Isuzu</a> <a href="SanPham-Volkswagen.aspx">
                Volkswagen</a>--%>
            <asp:DataList ID="DLink" RepeatDirection="Horizontal" runat="server">
                <ItemTemplate>
                    <div class="nsx-danhsach">
                        <li>
                            <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("name") %>' NavigateUrl="<%# NavigateURL() %>"></asp:HyperLink>
                        </li>
                    </div>
                </ItemTemplate>
            </asp:DataList>
        </span></li>
        <li><a href="Thong-Tin.aspx">Thông Tin </a></li>
        <li><a href="Default.aspx">Trang Chủ </a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="maincontent" runat="server">
    <p style="font-size: 20px; font-weight: bold; text-align: center; padding: 0px 0px 0px 130px;
        font-size: 30px; color: Red; padding-top: 20px; font-weight: bold;">
        GỞI EMAIL
    </p>
    <p style="border-bottom-style: dashed; border-bottom-width: 1px; border-bottom-color: blue;
        margin-top: 10px">
    </p>
    <div id="gt-noidung" style="text-align: center">
        <div id="gt-lh-noidung">
            <div class="text">
                <table cellpadding="0" cellspacing="0" width="50%" class="lienhe-table">
                    <tr>
                        <td colspan="2" style="color: Red; height: 30px">
                            <b>
                                <asp:Label ID="lblMessage" runat="server"></asp:Label></b>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 10%">
                            Họ Tên:
                        </td>
                        <td style="width: 75%; height: 30px">
                            <asp:TextBox ID="txtHoTen" runat="server" Width="250px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Thông tin bắt buộc!"
                                ControlToValidate="txtHoTen" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Email:
                        </td>
                        <td style="height: 30px">
                            <asp:TextBox ID="txtEmail" runat="server" Width="250px"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                                ErrorMessage="Sai định dạng email!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                Display="Dynamic"></asp:RegularExpressionValidator>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtEmail"
                                ErrorMessage="Thông tin bắt buộc!" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Nội Dung:
                        </td>
                        <td style="height: 165px">
                            <asp:TextBox ID="txtNoiDung" runat="server" Width="250px" Height="150px" TextMode="MultiLine"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtNoiDung"
                                Display="Dynamic" ErrorMessage="Thông tin bắt buộc!"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <br />
                            <asp:Button ID="btGui" runat="server" Text="Gửi Email" OnClick="btGui_Click" />
                            <br />
                            <br />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="clr">
        </div>
    </div>
</asp:Content>
